import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import router from './router/index'

// import 'amfe-flexible'
// import Vant from 'vant'
// import 'vant/lib/index.css'


if (import.meta.env.VITE_USER_NODE_ENV !== 'production') {
  // 如果不是生产环境 就加载vconsole
  import('vconsole').then(VConsole => {
    new VConsole.default();
  });
}

const app = createApp(App)
app.use(router)
// app.use(Vant)

app.mount('#app')
